package com.ms.game.itembox.db;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xpec.c4.db.model.log.basic.BasicLogModel;

@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = TreasureBoxChangeLogModel.TABLENAME)
public class TreasureBoxChangeLogModel extends BasicLogModel{
	
	public final static String TABLENAME = "treasure_box_change_log";
	
	private static final long serialVersionUID = -1162198927835284249L;

	/** orderId*/
	private String orderId;
	
	/** 寶箱ID*/
	private String treasureBoxId;
	
	/** 獲得的道具ID*/
	private String itemId;
	
	/** 是否是額外獲得的*/
	private boolean extraItem;
	
	/** 數量*/
	private int count;

	/** guid*/
	private String guid;
	
	/** 角色名稱*/
	private String playerName;

	/** 遊戲名稱*/
	private String gameId;
	
	/** 領取當下等級*/
	private int playerLevel;
	
	/** 角色VIP*/
	private int playerVipLevel;
	
	/** 上次開寶箱等級*/
	private int lastTreasureBoxLevel;
	
	/** 這次寶箱等級*/
	private int thisTreasureBoxLevel;
	
	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public boolean isExtraItem() {
		return extraItem;
	}

	public void setExtraItem(boolean extraItem) {
		this.extraItem = extraItem;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getPlayerName() {
		return playerName;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}
	
	public String getGameId() {
		return gameId;
	}

	public void setGameId(String gameId) {
		this.gameId = gameId;
	}


	public int getPlayerLevel() {
		return playerLevel;
	}

	public void setPlayerLevel(int playerLevel) {
		this.playerLevel = playerLevel;
	}

	public int getPlayerVipLevel() {
		return playerVipLevel;
	}

	public void setPlayerVipLevel(int playerVipLevel) {
		this.playerVipLevel = playerVipLevel;
	}

	public int getThisTreasureBoxLevel() {
		return thisTreasureBoxLevel;
	}

	public void setThisTreasureBoxLevel(int thisTreasureBoxLevel) {
		this.thisTreasureBoxLevel = thisTreasureBoxLevel;
	}

	public String getTreasureBoxId() {
		return treasureBoxId;
	}

	public void setTreasureBoxId(String treasureBoxId) {
		this.treasureBoxId = treasureBoxId;
	}

	public int getLastTreasureBoxLevel() {
		return lastTreasureBoxLevel;
	}

	public void setLastTreasureBoxLevel(int lastTreasureBoxLevel) {
		this.lastTreasureBoxLevel = lastTreasureBoxLevel;
	}


}